package com.hengfei.service;


import com.hengfei.entity.PageResult;
import com.hengfei.entity.QueryPageBean;
import com.hengfei.pojo.CheckItem;
import com.hengfei.pojo.TCheckitem;

import java.util.List;

//服务接口
public interface CheckItemService {
    //添加检查项
    public void add(CheckItem checkItem);

    //获取总记录数，及当前页结果
    public PageResult pageQuery(QueryPageBean queryPageBean);

    //根据id删除检查项
    public void deleteById(Integer id);

    //修改检查项
    public void edit(CheckItem checkItem);

    //根据id查询检查项
    public CheckItem findById(Integer id);

    //查找所有检查项
    List<TCheckitem> findAll();
}
